home *** CD-ROM | disk | FTP | other *** search
/ Gigarom 1 / Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso / FILES / HYP / C-D / DeveloperStax.cpt / Developer Stack 1.0 / background_13187.txt < prev    next >
Text File  |  1989-02-26  |  6KB  |  280 lines

  1. -- background: 13187 from stack: in.0
  2. -- bmap block id: 4585
  3. -- flags: 4000
  4. -- background id: 0
  5. -- name: Scripts
  6. ----- HyperTalk script -----
  7. on opencard
  8.   put (the number of this card - the number of first card of this background+1) into field "PageNumber"
  9. end opencard
  10.  
  11.  
  12.  
  13. -- part 1 (button)
  14. -- low flags: 00
  15. -- high flags: 2000
  16. -- rect: left=456 top=301 right=329 bottom=493
  17. -- title width / last selected line: 0
  18. -- icon id / first selected line: 11645 / 11645
  19. -- text alignment: 1
  20. -- font id: 0
  21. -- text size: 12
  22. -- style flags: 0
  23. -- line height: 16
  24. -- part name: Return
  25. ----- HyperTalk script -----
  26. on mouseUp
  27.   if the optionkey is down then
  28.     pass mouseup
  29.   end if
  30.  
  31.   visual effect iris close
  32.   go first card
  33. end mouseUp
  34.  
  35.  
  36.  
  37. -- part 2 (field)
  38. -- low flags: 01
  39. -- high flags: 0000
  40. -- rect: left=54 top=23 right=56 bottom=365
  41. -- title width / last selected line: 0
  42. -- icon id / first selected line: 0 / 0
  43. -- text alignment: 0
  44. -- font id: 2
  45. -- text size: 24
  46. -- style flags: 0
  47. -- line height: 32
  48. -- part name: Name
  49.  
  50.  
  51. -- part 3 (field)
  52. -- low flags: 00
  53. -- high flags: 4007
  54. -- rect: left=57 top=70 right=299 bottom=491
  55. -- title width / last selected line: 0
  56. -- icon id / first selected line: 0 / 0
  57. -- text alignment: 0
  58. -- font id: 3
  59. -- text size: 9
  60. -- style flags: 0
  61. -- line height: 12
  62. -- part name: 
  63.  
  64.  
  65. -- part 4 (field)
  66. -- low flags: 01
  67. -- high flags: 0000
  68. -- rect: left=255 top=311 right=327 bottom=282
  69. -- title width / last selected line: 0
  70. -- icon id / first selected line: 0 / 0
  71. -- text alignment: 1
  72. -- font id: 3
  73. -- text size: 12
  74. -- style flags: 0
  75. -- line height: 16
  76. -- part name: PageNumber
  77.  
  78.  
  79. -- part 6 (button)
  80. -- low flags: 00
  81. -- high flags: 2000
  82. -- rect: left=228 top=306 right=331 bottom=255
  83. -- title width / last selected line: 0
  84. -- icon id / first selected line: 1014 / 1014
  85. -- text alignment: 1
  86. -- font id: 0
  87. -- text size: 12
  88. -- style flags: 0
  89. -- line height: 16
  90. -- part name: Prev
  91. ----- HyperTalk script -----
  92. on mouseUp
  93.   if the optionkey is down then
  94.     pass mouseup
  95.   end if
  96.  
  97.   visual effect wipe right
  98.   go to previous card
  99. end mouseUp
  100.  
  101.  
  102.  
  103. -- part 7 (button)
  104. -- low flags: 00
  105. -- high flags: 2000
  106. -- rect: left=280 top=306 right=331 bottom=307
  107. -- title width / last selected line: 0
  108. -- icon id / first selected line: 1013 / 1013
  109. -- text alignment: 1
  110. -- font id: 0
  111. -- text size: 12
  112. -- style flags: 0
  113. -- line height: 16
  114. -- part name: Next
  115. ----- HyperTalk script -----
  116. on mouseUp
  117.   if the optionkey is down then
  118.     pass mouseup
  119.   end if
  120.  
  121.   visual effect wipe left
  122.   go to next card
  123. end mouseUp
  124.  
  125.  
  126.  
  127. -- part 10 (button)
  128. -- low flags: 00
  129. -- high flags: 2004
  130. -- rect: left=2 top=74 right=117 bottom=49
  131. -- title width / last selected line: 0
  132. -- icon id / first selected line: 14767 / 14767
  133. -- text alignment: 1
  134. -- font id: 0
  135. -- text size: 12
  136. -- style flags: 0
  137. -- line height: 16
  138. -- part name: About...
  139. ----- HyperTalk script -----
  140. on mouseUp
  141.   if the optionkey is down then
  142.     pass mouseup
  143.   end if
  144.  
  145.   visual iris open to gray
  146.   visual iris close to black
  147.   visual iris open to gray
  148.   visual iris close
  149.   go background information
  150. end mouseUp
  151.  
  152.  
  153.  
  154. -- part 11 (button)
  155. -- low flags: 00
  156. -- high flags: 2004
  157. -- rect: left=2 top=119 right=162 bottom=49
  158. -- title width / last selected line: 0
  159. -- icon id / first selected line: 29114 / 29114
  160. -- text alignment: 1
  161. -- font id: 0
  162. -- text size: 12
  163. -- style flags: 0
  164. -- line height: 16
  165. -- part name: Back
  166. ----- HyperTalk script -----
  167. on mouseUp
  168.   if the optionkey is down then
  169.     pass mouseup
  170.   end if
  171.  
  172.   visual barn door close to black
  173.   visual barn door open
  174.   go back
  175. end mouseUp
  176.  
  177.  
  178.  
  179. -- part 12 (button)
  180. -- low flags: 00
  181. -- high flags: 2004
  182. -- rect: left=2 top=164 right=207 bottom=49
  183. -- title width / last selected line: 0
  184. -- icon id / first selected line: 1011 / 1011
  185. -- text alignment: 1
  186. -- font id: 0
  187. -- text size: 12
  188. -- style flags: 0
  189. -- line height: 16
  190. -- part name: Home
  191. ----- HyperTalk script -----
  192. on mouseUp
  193.   if the optionkey is down then
  194.     pass mouseup
  195.   end if
  196.  
  197.   go home
  198. end mouseUp
  199.  
  200.  
  201.  
  202. -- part 13 (button)
  203. -- low flags: 00
  204. -- high flags: 2004
  205. -- rect: left=2 top=209 right=252 bottom=49
  206. -- title width / last selected line: 0
  207. -- icon id / first selected line: 1000 / 1000
  208. -- text alignment: 1
  209. -- font id: 0
  210. -- text size: 12
  211. -- style flags: 0
  212. -- line height: 16
  213. -- part name: Open Stack
  214. ----- HyperTalk script -----
  215. on mouseUp
  216.   if the optionkey is down then
  217.     pass mouseup
  218.   end if
  219.  
  220.   domenu "open stack..."
  221. end mouseUp
  222.  
  223.  
  224.  
  225. -- part 14 (button)
  226. -- low flags: 00
  227. -- high flags: 2004
  228. -- rect: left=2 top=254 right=297 bottom=49
  229. -- title width / last selected line: 0
  230. -- icon id / first selected line: 17343 / 17343
  231. -- text alignment: 1
  232. -- font id: 0
  233. -- text size: 12
  234. -- style flags: 0
  235. -- line height: 16
  236. -- part name: Launch Application
  237. ----- HyperTalk script -----
  238. on mouseUp
  239.   if the optionkey is down then
  240.     pass mouseup
  241.   end if
  242.  
  243.   visual venetian blinds to gray
  244.   visual venetian blinds to black
  245.   visual venetian blinds to gray
  246.   visual venetian blinds
  247.  
  248.   go to background "Mini Hyperstation"
  249. end mouseUp
  250.  
  251.  
  252.  
  253. -- part 15 (button)
  254. -- low flags: 00
  255. -- high flags: 2004
  256. -- rect: left=2 top=299 right=342 bottom=49
  257. -- title width / last selected line: 0
  258. -- icon id / first selected line: 21786 / 21786
  259. -- text alignment: 1
  260. -- font id: 0
  261. -- text size: 12
  262. -- style flags: 0
  263. -- line height: 16
  264. -- part name: Menus On
  265. ----- HyperTalk script -----
  266. on mouseUp
  267.   if the optionkey is down then
  268.     pass mouseup
  269.   end if
  270.  
  271.   If the short name of the target is "Menus On" then
  272.     set the name of the target to "Menus Off"
  273.     show menubar
  274.   else
  275.     set the name of the target to "Menus On"
  276.     hide menubar
  277.   end if
  278. end mouseUp
  279.  
  280.